package org.sandbox3.domain.bank;

import javax.persistence.Transient;
import javax.validation.constraints.NotNull;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooEntity
public class TransferForm {
	@Transient
	private String name;
	
	@NotNull
	@Transient
	private Integer amount;
	
	@NotNull
	@Transient
	private Long fromAccountId;
	
	@NotNull
	@Transient
	private Long toAccountId;
}
